package com.qzing.springbootmybatisdemo05.pojo;


public class User {
    private Integer id;
    private String name;
    private String passwd;

    public User(Integer id, String name, String passwd) {
        this.id = id;
        this.name = name;
        this.passwd = passwd;
    }

    public User() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", passwd='" + passwd + '\'' +
                '}';
    }
}


//    CREATE TABLE `user` (
//        `id` int(11) NOT NULL AUTO_INCREMENT,
//        `name` varchar(255) NOT NULL COMMENT '',
//        `passwd` varchar(256) DEFAULT NULL COMMENT '',
//        PRIMARY KEY (`id`) USING BTREE
//        ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
//
